<!--历史-->
<?php

use yii\widgets\ActiveForm ;
use backend\service\AdminUserService ;
use yii\helpers\ArrayHelper ;
use common\service\ConstatService ;
use yii\helpers\Url ;
use common\service\UtilService ;

$pageName = "评价结果";

$controller = Yii::$app->controller->id;
$action = Yii::$app->controller->action->id;
$this->title = $pageName . "-" . Yii::$app->params['webname'];
$this->params['breadcrumbs'][] = $pageName;
$this->params['display_name'] = $pageName;

$typeId = Yii::$app->admin->identity->type_id ;

$users = AdminUserService::getUser(ConstatService::ADMIN_USER_TYPE_ID_GENERAL) ;
$arr = ArrayHelper::map($users,"user_id","username") ;
$usersArr =[] ;
$usersArr["0"]="请选择" ;
foreach($arr as $key=>$val){
    $usersArr[$key] = $val ;
}
$isMobile = UtilService::isMobile() ;
$imgwidth = $isMobile==true?"225px":"400px" ;
?>
<style>
    table td{font-size: 17px;}
</style>

<div class="row">
    <div class="col-md-12">
        <div class="box box-solid">
            <div class="box-body  table-responsive no-padding">
                <table class="table table-bordered table-striped table-condensed">
                    <tbody>
                        <?php foreach($list as $val):?>
                        <tr>
                            <td>处理人</td>
                            <td><?= $val['user_name']; ?></td>
                        </tr>
                        <tr>
                            <td>完成时间</td>
                            <td><?= $val['upd_time']; ?></td>
                        </tr>
                        <tr>
                            <td>评价</td>
                            <td><?= str_replace("|"," , ",$val['feed']); ?></td>
                        </tr>

                        <tr>
                            <td></td>
                            <td></td>
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
            <!-- /.box-body -->
        </div>
    </div>


</div>